package com.ruoyi.project.wechatprogram.notice.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 公告对象 wx_notice
 * 
 * @author sxchen
 * @date 2020-05-21
 */
public class WxNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Integer id;

    /** 公告的标题 */
    @Excel(name = "公告的标题")
    private String title;

    /** 公告的内容 */
    @Excel(name = "公告的内容")
    private String content;

    /** 站点id */
    @Excel(name = "站点id")
    private Integer webId;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer del;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setWebId(Integer webId) 
    {
        this.webId = webId;
    }

    public Integer getWebId() 
    {
        return webId;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("webId", getWebId())
            .append("del", getDel())
            .toString();
    }
}
